﻿<Application
    x:Class="GifAnimator.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:GifAnimator">

    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>

                <!-- 
                    Styles définissant l'apparence globale de la plateforme
                    Requis par les modèles de projets et les modèles d'éléments Visual Studio
                 -->
                <ResourceDictionary Source="Common/StandardStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>

            <DataTemplate x:Key="StoreFrontTileTemplate">
                <Grid HorizontalAlignment="Left">
                    <StackPanel Orientation="Horizontal" Margin="10,10,0,0">
                        <Image Source="{Binding SourceImage}" 
                               Height="60" Width="60" 
                               VerticalAlignment="Center"
                               Margin="0,0,10,0"/>
                        <Image Height="60" Width="60" >
                            <Image.Source>
                                <BitmapImage UriSource="{Binding Uri}" />
                            </Image.Source>
                        </Image>
                        <!--<Image Source="{Binding Source}" Height="60" Width="60" VerticalAlignment="Center" Margin="0,0,10,0"/>-->
                        <StackPanel Margin="0,0,0,0" Orientation="Vertical">
                            <TextBlock TextWrapping="Wrap" Text="{Binding Duration}" HorizontalAlignment="Left" FontFamily="Segoe UI" />
                        </StackPanel>
                    </StackPanel>
                </Grid>
            </DataTemplate>
            
        </ResourceDictionary>
    </Application.Resources>
</Application>
